package edu.ustc.iproject.dao;
import java.util.List;

import edu.ustc.iproject.bean.Message;

public interface MessageDAO {
	
	public void saveMessage(Message message);
	
	public List<Message> ListAllMessages();

	public void deleteMessage(Message message);
	
	public void updateMessage(Message message);
	
	public Message findMessageById(int id);

	public List<Message> findMessageList(String condition, String type);
	
	public List<Message> findMessageByStud(int stuid);

}
